package leetcode.number;

public class Main {

    public static void main(String[] args) {
//        int[] weights = {3, 2, 2, 4, 1, 4};
//        System.out.println(ShipWithinDays.shipWithinDays(weights, 3));
//
//        System.out.println(JudgeSquareSum.judgeSquareSum(5));

//        int[] nums1 = {-1, 0, 1, 2, -1, -4};
//        System.out.println(ThreeSum.threeSum(nums1));
//
//        int[] nums2 = {0, 0, 0};
//        System.out.println(ThreeSum.threeSum(nums2));
//
//        int[] nums3 = {0,0,0,0};
//        System.out.println(ThreeSum.threeSum(nums3));

//        int[] num4 = {-4,-2,-2,-2,0,1,2,2,2,3,3,4,4,6,6};
//        System.out.println(ThreeSum.threeSum(num4));

//        System.out.println("0:"+(new ClimbStairs()).climbStairs(0));
//        System.out.println("1:"+(new ClimbStairs()).climbStairs(1));
//        System.out.println("2:"+(new ClimbStairs()).climbStairs(2));
//        System.out.println("3:"+(new ClimbStairs()).climbStairs(3));
//        System.out.println("4:"+(new ClimbStairs()).climbStairs(4));
//        System.out.println("5:"+(new ClimbStairs()).climbStairs(5));
//        System.out.println("6:"+(new ClimbStairs()).climbStairs(6));
//        System.out.println("7:"+(new ClimbStairs()).climbStairs(7));

//        System.out.println(IsPalindrome.isPalindrome(121));
//        System.out.println(IsPalindrome.isPalindrome(-121));
//        System.out.println(IsPalindrome.isPalindrome(-101));
//        System.out.println(IsPalindrome.isPalindrome(10));
//        System.out.println(IsPalindrome.isPalindrome(11));
        int[] nums = {2, 2, 1};
//        System.out.println(MaxProfit.maxProfit(nums));

        System.out.println(SingleNumber.singleNumber(nums));

    }

}
